package com.springboot.demo.io;

/**
 * 常量
 *
 * @author supu
 * @date 2019-12-03 14:40
 **/
public class Constants {
    /**
     * bio端口号
     */
    public static final Integer BIO_PORT = 8887;

    /**
     * nio端口号
     */
    public static final Integer NIO_PORT = 8888;

    /**
     * aio端口号
     */
    public static final Integer AIO_PORT = 8889;

    public static final String HOST = "127.0.0.1";

    /**
     * 缓冲区大小
     */
    public static final Integer BUFFER_SIZE = 1024;
}
